package question7.test2;

public class Test2 {
    public static void main(String[] args) {
        int[] arr = {55,77,0,88,22,44,33};
        int[] arr1 = new int[arr.length];
        System.arraycopy(arr,0,arr1,0,4);
        System.arraycopy(arr,3,arr1,2,4);
        for (int i : arr1) {
            System.out.print(i+" ");
        }
    }
}
